﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
using UnityEngine;
using YeqianFramework.config;

namespace Assets.Scripts.config
{
	[CreateAssetMenu(menuName = "夜黔框架/创建 GameConfig.xml", order = 1001)]
	public class GameConfigScriptableObj : ConfigScriptableObject
	{
		public GlobalGameConfig config;
	}

	[Serializable]
	public class GlobalGameConfig : Config
	{
		/// <summary>
		/// 全局初始速度乘数
		/// </summary>
		[XmlElement]
		public float AwakeSpeedFactor;
		/// <summary>
		/// 全局力乘数
		/// </summary>
		[XmlElement]
		public float ForceFactor;

		/// <summary>
		/// 行星数据
		/// </summary>
		[XmlElement]
		public PlanetData Planet;
		/// <summary>
		/// 恒星数据
		/// </summary>
		[XmlElement]
		public FixedStarData[] FixedStars;
	}
}
